package com.psm.validator;

import com.jfinal.core.Controller;

/**
 * 登录验证
 * @author loyin
 *2013-6-2 下午3:14:22
 */
public class LoginValid extends BaseValidtor {
	@Override
	protected void validate(Controller c) {
		filedErrKeyList=new String[]{"err_userno","err_pwd"};
		this.validateRequired("user_name", "err_userno", "用户名不能为空");
		this.validateRequired("user_pwd", "err_pwd",  "密码不能为空");
	}
}
